package org.onvivals.module.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.onvivals.module.pms.entity.PmsCode;

public interface IPmsCodeService extends IService<PmsCode> {

	/**
	 * 检查激活码是否可用
	 * @param code
	 * @param userId
	 * @return
	 */
	boolean checkCode(String code, Long userId);
}
